ColibriWP\PageBuilder\GoogleFontsLocalLoader A

Total Complexity 56
Dependencies 1
Dependents 1
Total lines 464
Lines of code 287
Logical lines of code 153
Comment lines 57
Methods 24
Properties 10

Methods 24

Method Rating Maintainability Complexity Lines of code
getFontsMap()
A
45 9 39
getSecuritySalt()
S
59 6 18
getCSS()
S
53 4 26
resolveFontsCSS()
S
54 4 21
resolveFontFileContent()
S
57 4 16
resolveFont()
S
54 3 19
addQueryToCache()
S
58 3 18
replacePlaceholdersWithLocalCSS()
S
53 2 25
enqueueFonts()
S
56 2 21
cacheQueryCSS()
S
60 2 15
__construct()
S
64 2 9
getInstance()
S
72 2 6
getCachedDataByKey()
S
68 2 7
replaceGoogleURLS()
S
62 1 12
getCachedQueryData()
S
80 1 3
localFontFileExists()
S
80 1 3
saveFontContentToLocalFile()
S
75 1 4
getLocalFontFileURL()
S
75 1 4
getLocalFontFilePath()
S
75 1 4
createSecurityKey()
S
79 1 3
verifySecurityKey()
S
79 1 3
addAdminAjaxActions()
S
72 1 5
enqueuLocalGoogleFonts()
S
80 1 3
registerFontResolver()
S
80 1 3